/**
 * @filename:Occupy Sep 19, 2024
 * Copyright(c) 2022 Wonder Co. Ltd.
 * All right reserved.
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * @Description:TODO(库存占用实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_occupy")
@ApiModel(value="t_prd_occupy对象", description="库存占用表")
public class Occupy extends Model<Occupy> {

    private static final long serialVersionUID = 1726736458570970L;

    @TableId(value ="Id", type = IdType.AUTO)
    @ApiModelProperty(name = "Id" , value = "编号")
    private Long Id;

    @TableField(value = "FBILLNOMO")
    @ApiModelProperty(name = "FBILLNOMO" , value = "订单编号")
    private String FBILLNOMO;

    @TableField(value = "FMATERIALNUMBER")
    @ApiModelProperty(name = "FMATERIALNUMBER" , value = "物料编码")
    private String FMATERIALNUMBER;

    @TableField(value = "FMATERIALNAME")
    @ApiModelProperty(name = "FMATERIALNAME" , value = "物料名称")
    private String FMATERIALNAME;

    @TableField(value = "FSTOCKNAME")
    @ApiModelProperty(name = "FSTOCKNAME" , value = "仓库名称")
    private String FSTOCKNAME;

    @TableField(value = "FSTOCKNO")
    @ApiModelProperty(name = "FSTOCKNO" , value = "仓库编码")
    private String FSTOCKNO;

    @TableField(value = "FLOCATIONID")
    @ApiModelProperty(name = "FLOCATIONID" , value = "仓位内码")
    private Integer FLOCATIONID;

    @TableField(value = "LOCATIONNO")
    @ApiModelProperty(name = "LOCATIONNO" , value = "仓位编码")
    private String LOCATIONNO;

    @TableField(value = "FQTY")
    @ApiModelProperty(name = "FQTY" , value = "占用数量")
    private Double FQTY;

    @TableField(value = "FBASEQTY")
    @ApiModelProperty(name = "FBASEQTY" , value = "库存数量")
    private Double FBASEQTY;



    @Override
    public Serializable pkVal() {
        return this.Id;
    }

}
